package com.gui.hosp.service;

import com.gui.model.hosp.Department;
import com.gui.vo.hosp.DepartmentQueryVo;
import com.gui.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author GodLamp
 * @date 2022/10/21 18:24
 */
public interface DepartmentService {
    void save(Map<String, Object> params);

    Page<Department> findPageDepart(int page, int limit, DepartmentQueryVo vo);

    void remove(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    String getDepName(String hoscode, String depcode);
}
